package com.menny.android.ongoingweather;

import android.content.Context;

public abstract class OngoingWeatherConfiguration {

	private static final OngoingWeatherConfiguration msInstance;
	
	static
	{
		msInstance = new OngoingWeatherConfigurationImpl();
	}
	
	public static OngoingWeatherConfiguration getInstance() {return msInstance;}
	
	protected boolean mStartOnBoot = false;
	protected boolean mUseCurrentLocation = false;
	protected String mSpecificCity = "Tel Aviv, Israel";
	protected int mRefreshIntervalInMinutes = 30;
	
	public boolean getStartOnBoot()
	{
		return mStartOnBoot;
	}
	
	public boolean getUseCurrentLocation()
	{
		return mUseCurrentLocation;
	}
	
	public String getSpecificCityName()
	{
		return mSpecificCity;
	}
	
	public int getRefreshIntervalInMinutes()
	{
		return mRefreshIntervalInMinutes;
	}
	
	static class OngoingWeatherConfigurationImpl extends OngoingWeatherConfiguration
	{
		public synchronized void initialize(Context context)
		{
		}
	}
}
